func runtime.cheaprandn
10 uses
runtime (current package)
lock_spinbit.go#L289: antiStarve := cheaprandn(mutexTailWakePeriod) == 0
malloc.go#L1852: q := cheaprandn(1<<randomBitCount) + 1
malloc.go#L1870: return int64(cheaprandn(uint32(2 * rate)))
mgcpacer.go#L715: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
os_linux.go#L668: spec.it_value.setNsec(1 + int64(cheaprandn(uint32(1e9/hz))))
proc.go#L6828: j := cheaprandn(i + 1)
proc.go#L6869: j := cheaprandn(i + 1)
rand.go#L291: func cheaprandn(n uint32) uint32 {
select.go#L191: j := cheaprandn(uint32(norder + 1))
symtab.go#L1067: ci := cheaprandn(uint32(len(cache.entries[ck])))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)